"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createJokers = void 0;
var enums_1 = require("./enums");
//创建扑克牌
function createJokers() {
    // 创建数组
    var jokers = [];
    //获取到枚举对象的值数组;
    var marks = Object.values(enums_1.Mark);
    var colors = Object.values(enums_1.Color);
    for (var _i = 0, marks_1 = marks; _i < marks_1.length; _i++) {
        var m = marks_1[_i];
        for (var _a = 0, colors_1 = colors; _a < colors_1.length; _a++) {
            var c = colors_1[_a];
            jokers.push({
                color: c,
                mark: m
            });
        }
    }
    return jokers;
}
exports.createJokers = createJokers;
